﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DoAnWeb.DAO;

namespace DoAnWeb.DTO
{
    public class TaiKhoanDTO
    {
        private string m_TenTaiKhoan;
        private string m_MatKhau;
        private string m_HoTen;
        private string m_TenDoanhNghiep;
        private DateTime m_NgaySinh;
        private string m_DiaChi;
        private string m_DienThoai;
        private string m_Email;
        private string m_GioiTinh;
        private string m_MaLoaiTaiKhoan;
        private string m_TenLoaiTaiKhoan;
        private DateTime m_NgayDangKy;
        private string m_DaXoa;
        private string m_HinhAnh;

        public string HinhAnh
        {
            get { return m_HinhAnh; }
            set { m_HinhAnh = value; }
        }

        private MyCart m_Cart;

        public string TenTaiKhoan
        {
            get { return m_TenTaiKhoan; }
            set { m_TenTaiKhoan = value; }
        }
        public string MatKhau
        {
            get { return m_MatKhau; }
            set { m_MatKhau = value; }
        }
        public string HoTen
        {
            get { return m_HoTen; }
            set { m_HoTen = value; }
        }
        public string TenDoanhNghiep
        {
            get { return m_TenDoanhNghiep; }
            set { m_TenDoanhNghiep = value; }
        }
        public DateTime NgaySinh
        {
            get { return m_NgaySinh; }
            set { m_NgaySinh = value; }
        }
        public string DiaChi
        {
            get { return m_DiaChi; }
            set { m_DiaChi = value; }
        }
        public string DienThoai
        {
            get { return m_DienThoai; }
            set { m_DienThoai = value; }
        }
        public string Email
        {
            get { return m_Email; }
            set { m_Email = value; }
        }
        public string GioiTinh
        {
            get { return m_GioiTinh; }
            set { m_GioiTinh = value; }
        }
        public string MaLoaiTaiKhoan
        {
            get { return m_MaLoaiTaiKhoan; }
            set { m_MaLoaiTaiKhoan = value; }
        }
        public string TenLoaiTaiKhoan
        {
            get { return m_TenLoaiTaiKhoan; }
            set { m_TenLoaiTaiKhoan = value; }
        }
        public DateTime NgayDangKy
        {
            get { return m_NgayDangKy; }
            set { m_NgayDangKy = value; }
        }
        public string DaXoa
        {
            get { return m_DaXoa; }
            set { m_DaXoa = value; }
        }

        public MyCart Cart
        {
            get { return m_Cart; }
            set { m_Cart = value; }
        }

        public void InitCart()
        {
            m_Cart = new MyCart();
        }

        public TaiKhoanDTO() { }
    }
}